//package top.mschen.blog.common.config;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//
//@Component
//public class SchedulingJobTest {
//
//        private static final Logger log = LoggerFactory.getLogger(SchedulingJobTest.class);
//
//        @Scheduled(cron = "0/5 * * * * *")
//        public void scheduled(){
//        log.info("=====>>>>>使用cron  {}",System.currentTimeMillis());
//        }
//        @Scheduled(fixedRate = 5000)
//        public void scheduled1() {
//        log.info("=====>>>>>使用fixedRate{}", System.currentTimeMillis());
//       }
//        @Scheduled(fixedDelay = 5000)
//        public void scheduled2() {
//        log.info("=====>>>>>fixedDelay{}",System.currentTimeMillis());
//    }
//
//}
